public class Date {
    public int year;
    public int month;
    public int day;
/*  public void setDay(int x,int y,int z){
        year = x;
        month = y;
        day = z;
    }
    public void print(){
        System.out.println(year+"/"+month+"/"+day);
    }
    public static void main(String[] args) {
        Date date = new Date();
        date.setDay(2025,3,8);
        date.print();
    }*/

    public void setDay(int year,int month,int day){
        this.year = year;
        this.month = month;
        this.day = day;
    }
    public void print(){
        System.out.println(this.year+"/"+this.month+"/"+this.day);
    }
    public static void main(String[] args) {
        Date date = new Date();
        date.setDay(2025,3,8);
        date.print();
        Date date2 = new Date();
        date.setDay(2024,3,8);
        date.print();
    }

}
